/**
 * Ingenius-Group S.A.S
 *
 * Project: SAU
 * File: ListAssignedInstrumentsEvent.java
 * Date: 08/02/2011
 */

package com.ingenius.sau.client.event;

import com.google.gwt.event.shared.EventHandler;
import com.google.gwt.event.shared.GwtEvent;
import com.ingenius.sau.client.event.ListAssignedInstrumentsEvent.ListAssignedInstrumentsEventHandler;

/**
 * Class <strong>ListAssignedInstrumentsEvent</strong>
 * 
 * @author Jesus David
 * @version 0.1
 */
public class ListAssignedInstrumentsEvent extends
		GwtEvent<ListAssignedInstrumentsEventHandler> {

	public interface ListAssignedInstrumentsEventHandler extends EventHandler {

		void onListAssignedInstruments(ListAssignedInstrumentsEvent event);
	}

	public static Type<ListAssignedInstrumentsEventHandler> TYPE = new Type<ListAssignedInstrumentsEventHandler>();

	@Override
	public Type<ListAssignedInstrumentsEventHandler> getAssociatedType() {
		return TYPE;
	}

	@Override
	protected void dispatch(ListAssignedInstrumentsEventHandler handler) {
		handler.onListAssignedInstruments(this);
	}

}
